package cn.huobi.order.domain;

import cn.huobi.basic.domain.BaseDomain;
import cn.huobi.org.domain.Shop;
import cn.huobi.pet.domain.Product;
import cn.huobi.user.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author huobi
 * @since 2022-11-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderProduct extends BaseDomain{

    /**
     * 摘要
     */
    private String digest;
    /**
     * 待支付0  完成1 取消-1
     */
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    private Date lastPayTime;
    /**
     * 购买次数
     */
    private Integer num;
    private Long productId;
    private Long userId;
    private Long shopId;
    private Long empId;

    private Shop shop;
    private User user;
    private Product product;

}
